package com.campusify.mapper;

import com.campusify.pojo.Privatemessage;
import com.campusify.pojo.PrivatemessageExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PrivatemessageMapper {
    long countByExample(PrivatemessageExample example);

    int deleteByExample(PrivatemessageExample example);

    int deleteByPrimaryKey(Integer messageid);

    int insert(Privatemessage record);

    int insertSelective(Privatemessage record);

    List<Privatemessage> selectByExample(PrivatemessageExample example);

    Privatemessage selectByPrimaryKey(Integer messageid);

    int updateByExampleSelective(@Param("record") Privatemessage record, @Param("example") PrivatemessageExample example);

    int updateByExample(@Param("record") Privatemessage record, @Param("example") PrivatemessageExample example);

    int updateByPrimaryKeySelective(Privatemessage record);

    int updateByPrimaryKey(Privatemessage record);
}